package com.mcxx.modules.miniSalvation.order.dao.read;

import com.mcxx.modules.miniSalvation.order.dto.OrderDTO;
import com.mcxx.modules.miniSalvation.order.dto.OrderListForChoiceDTO;
import com.mcxx.modules.miniSalvation.order.dto.NoticeBoardDetailDTO;
import com.mcxx.modules.miniSalvation.order.entity.NoticeBoardDetailEntity;
import com.mcxx.modules.miniSalvation.order.param.OrderListSearchParam;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;

import java.util.List;

public interface NoticeBoardDetailReadDao extends Ta404SupportMapper {


    List<String> getIdByIdAndFamilyNums(List<String> batchIdList);


    List<String> getNoByNoAndFamilyNums(List<String> batchNoList);


    List<OrderListForChoiceDTO> queryObject(OrderListSearchParam param);


    List<NoticeBoardDetailDTO> queryObjectByBatchId(OrderListSearchParam param);

    NoticeBoardDetailDTO queryTmpFinishedUnderAgeFamily(OrderListSearchParam param);

    List<NoticeBoardDetailDTO> queryTownMiniObjectByBatchId(OrderListSearchParam param);


    List<NoticeBoardDetailDTO> queryCountyMiniObjectByBatchId(OrderListSearchParam param);

    NoticeBoardDetailDTO queryUnfinishUnderAgeFamily(OrderListSearchParam param);

    NoticeBoardDetailDTO queryFinishedUnderAgeFamily(OrderListSearchParam param);

    List<OrderListForChoiceDTO> queryEntrustObject(OrderListSearchParam param);


    NoticeBoardDetailEntity queryDetailByOrderId(String batchId, String orderId);


    List<OrderDTO> getOrderStateAndVersions(List<String> batchNoList,String tableOrder);



    List<NoticeBoardDetailDTO> getBatchOrderInfo(String startDate, String state);


    List<NoticeBoardDetailEntity> queryAreaByBatchId(String batchId);

    NoticeBoardDetailDTO selectHasObjection(String orderId);


    List<NoticeBoardDetailDTO> queryNoticeByOrderId(String orderId);
}
